PhpSpreadsheet Reading WorkBook Data Example #04

Get a List of the Worksheets in a WorkBook


Reading the number of Worksheets in the WorkBook
There are 3 WorkSheets in the WorkBook

Reading the names of Worksheets in the WorkBook
WorkSheet #0 is named "Data Sheet #1"
WorkSheet #1 is named "Data Sheet #2"
WorkSheet #2 is named "Data Sheet #3"